import { http } from "/@/utils/http";

/** 查询待接收列表 */
export const getAwaitReceiveListApi = (params) => {
  return http.request<YTableRemoteResult>("get", "/api/mes/feedback/receive/list", { params });
};

export const receiveApi = (data) => {
  return http.request("post", "/api/mes/feedback/receive", { data });
}

export const getProcessingListApi = (params) => {
  return http.request<YTableRemoteResult>("get", "/api/mes/feedback/processing/list", { params });
}

export const startApi = (data) => {
  return http.request("post", "/api/mes/feedback/start", { data });
}

export const endApi = (data) => {
  return http.request("post", "/api/mes/feedback/end", { data });
}


export const reportApi = (data) => {
  return http.request("post", "/api/mes/feedback/report", { data });
}

export const sendApi = (data) => {
  return http.request("post", "/api/mes/feedback/send", { data });
}
